﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 套餐项变更记录
    /// </summary>
    public class EPackageInstanceItemChangedRecord
    {
        public Guid Id { get; set; }

        /// <summary>
        /// 单据号
        /// </summary>
        public Guid BillId { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public int BillType { get; set; }

        /// <summary>
        /// 套餐实例Id
        /// </summary>
        public Guid PackageInstanceId { get; set; }

        /// <summary>
        /// 套餐实例项Id
        /// </summary>
        public Guid PackageInstanceItemId { get; set; }

        /// <summary>
        /// 服务商Id
        /// </summary>
        public Guid BusinessId { get; set; }

        /// <summary>
        /// 店铺Id
        /// </summary>
        public Guid StationId { get; set; }

        /// <summary>
        /// 变更数量
        /// </summary>
        public decimal Count { get; set; }

        /// <summary>
        /// 剩余数量
        /// </summary>
        public decimal RemainingCount { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }


        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
    }
}
